#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
调试数据解析器
"""

import json
from src.common.utils.data_parser import DataParser

# 从日志中提取的测试数据
test_response = '''
{
  "dy_data": {
    "admire_count": 0,
    "author": "王者荣耀",
    "author_url": "https://www.douyin.com/user/MS4wLjABAAAAyiUBvOEjnzVYHl3xyIopxDpk1e7ECR-TW10I14EdS80",
    "collect_count": 449,
    "comment_count": 1795,
    "cover": "https://p3-pc-sign.douyinpic.com/tos-cn-p-0015/oM4KFPMPIyikg5pAcP0dS8iQBzBIClmAmIal3~tplv-dy-360p.jpeg?lk3s=138a59ce&x-expires=1757221200&x-signature=S%2BV9HUoJpMVsr4RQz7Qd5kePoq0%3D&from=327834062&s=PackSourceEnum_AWEME_DETAIL